import cn.hutool.crypto.digest.BCrypt;
import com.aisi.backend.utils.JwtUtils;

import java.util.Date;

/**
 * @Author: shenjianZ
 * @Date: 2024/5/1 下午4:46
 * @Description:
 */


public class test {

    public static void main(String[] args) {
//        final String SALT = BCrypt.gensalt();
//        System.out.println(SALT);
//        Date date = JwtUtils.expireTime();
//        System.out.println(date);
        Integer jwtUserId = JwtUtils.getJWTUserId("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MzMsImV4cCI6MTcxNTU4NDg4MCwianRpIjoiNzJmMzc1MDQtNDNhNi00YTRkLWE0OGQtMzgyMWJkM2E1NzkxIiwidXNlcm5hbWUiOiJwb29wIn0.28x8ceQvh-kMza6oorODZrHkQd3vlkRvftSeHBVlE1k");
        System.out.println(jwtUserId);
    }
}
